package com.service;

import com.common.paging.PagingData;
import com.entity.AnnouncementInfo;
import com.entity.BannerInfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/11/30 0030.
 */
public interface BillService {

    int insertBill(Integer userId, BigDecimal money, Integer types, String description);

    Map findMoneyAndBill(Integer userId, Integer limit);

    List<BannerInfo> findBanner(Integer type);

    List<AnnouncementInfo> findAnnouncement(Integer type);

    int insertUserP(Integer userId, Integer pid);

    PagingData findCerTeacherValueList(Integer page, Integer length, String search);

    int editTeacherValue(Integer id, Integer teacherValue);

    List findRigLoginCount();

    PagingData findRefundRecord(Integer page, Integer length);

    int updateRefundRecord(Integer refundId, Integer recordId, Integer type);

    int findOpenIdCon(String openId);

    int findordersum(Integer userId, Integer type);
}
